package com.ruoyi.check.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * xxxxxxxx对象 my_table
 * 
 * @author hugh.sun
 * @date 2023-06-05
 */
public class MyTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** xxx */
    private Long id;

    /** xxxx */
    @Excel(name = "xxxx")
    private String data;

    /** xxxxx */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "xxxxx", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("data", getData())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
